
#ifndef RESTRAINTBOARD_H
#define RESTRAINTBOARD_H

#include <BMap>
#include <BSpinBox>
#include <BRealSpinBox>
#include <BGroupBox>
#include <BButton>
#include <BColorDialog>
#include <BShape>
#include <BLabel>
#include <BLineEdit>
#include <BButton>
#include <BCheckBox>
#include <BComboBox>
#include <BGroupBox>

using namespace BWE;

class RestraintBoard : public BGroupBox
{
public:
	RestraintBoard(BWidget* parent = 0);
	~RestraintBoard();

protected:
	void slotAssetChanged(const BObject* object, const BValue& value);
	void slotFoldeButtonChecked(const BObject* object, const BValue& value);
	void slotNameEditFinished(const BObject* object, const BValue& value);
	void slotEnabledBoxToggled(const BObject* object, const BValue& value);
	void slotInnerCollibleToggled(const BObject* object, const BValue& value);
	void slotBreakImpulseEditFinished(const BObject* object, const BValue& value);

private:
	BButton*			_foldeButton;
	BLineEdit*			_nameEdit;
	BCheckBox*			_enabledCheckBox;
	BCheckBox*			_collidingCheckBox;
	BRealSpinBox*		_breakImpulseSpinBox;
	BHolder<BShape>		_shape;
};

#endif